<?php
if (!isset($redirect) || strlen($redirect)== 0) {
    $redirect = $rootDir . "/index.php?reload=true";
    $redirectStr = "the homepage";
}
echo <<< EOQ
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>$defaultPageTitle</title>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name="description" content="$defaultPageTitle">
    <meta name="keywords" content="bloodbowl, blood bowl, league, games workshop, games, bbl, blood, bowl, $keywords">
    <meta http-equiv="refresh" content="0;url=$redirect">
    <link href="$rootDir/style.css" rel=stylesheet>
  </head>
  <body text="$textColor" bgcolor="$bgcolor">
    <p>
        <h5>Please wait while you are redirected to <a href="$redirect">$redirectStr</a></h5>
        <br />$message
    </p>
  </body>
</html>
EOQ;
?>
